import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2023-03-23
 * Time: 16:41
 */
public class Main1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int d = scanner.nextInt();
        double A = 0.5 * (a + c);
        double B = A - a;
        double C = B - b;
        if (B + C == d) {
            System.out.println((int) A + " " + (int) B + " " + (int) C);
            return;
        }
        B = 0.5 * (c + d);
        C = B - b;
        A = B + a;
        if (B + A == c) {
            System.out.println((int) A + " " + (int) B + " " + (int) C);
        } else {
            System.out.println("No");
        }
    }
}
